package com.mill;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@SpringBootApplication
@Controller
public class BookSystemStudentApplication {

	public static void main(String[] args) {
		SpringApplication.run(BookSystemStudentApplication.class, args);
	}
	
	@RequestMapping("hello")
	@ResponseBody
	public String hello() {
		return "<h1>这是我的一个测试接口</h1>";
	}
}
